<script setup>
defineProps({
  title: {
    type: String,
  },
  detail: {
    type: String,
  },
  
});
// const cur=ref('0')
</script>
<template>
  <div class="_rodius_title">
    <div>{{ title }}</div>
    <div>{{ detail }}</div>
  </div>
</template>
<style scoped>
._rodius_title {
  width: 85%;
  height: 100px;
  background-color: #f8f8f5;
  margin: auto;
  border-radius: 50px;
  margin-top: 20px;
  text-align: center;
  font-size: 24px;
  /* line-height: 120px; */
  padding-top: 15px;
  box-sizing: border-box;
}
.active{
    background-color: orange;
}
</style>
